package com.practise.beanconf.annotation.model;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Data
@Component
@ConfigurationProperties(prefix = "people")
public class PeopleConfig {
    private String name;
    private int age;
    private String addr;
    private double height;
}
